package cn.study.vue_project_xxx.entity.po;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
@Data
@TableName("t_user_info")
@ApiModel(value = "用户信息表",description = "获取用户信息")
public class UserInfo {

    @TableField("id")
    @ApiModelProperty("主键ID")
    private Integer id;

    @TableField("user_id")
    @ApiModelProperty("用户唯一ID")
    private Long userId;

    @TableField("user_name")
    @ApiModelProperty("用户名称")
    private String userName;

    @TableField("user_birthday")
    @ApiModelProperty("用户生日日期,默认 '1999-09-09 09:09:09'")
    private LocalDateTime userBirthday;

    @TableField("user_mobile")
    @ApiModelProperty("用户手机号")
    private String userMobile;

    @TableField("user_leve")
    @ApiModelProperty("用户等级:0超级管理员,1管理员,2普通用户")
    private Integer userLeve;

    @TableField("user_email")
    @ApiModelProperty("用户邮箱")
    private String userEmail;

    @TableField("create_user")
    @ApiModelProperty("创建者ID")
    private Long createUser;

    @TableField("update_user")
    @ApiModelProperty("修改者ID")
    private Long updateUser;

    @TableField("delete_user")
    @ApiModelProperty("删除者ID")
    private Long deleteUser;

    @TableField("create_time")
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @TableField("update_time")
    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;

    @TableField("delete_time")
    @ApiModelProperty("删除时间")
    private LocalDateTime deleteTime;

    @TableField("deleted")
    @ApiModelProperty("用户名称")
    private Integer deleted;

    @TableField("image_url")
    @ApiModelProperty("用户头像")
    private Integer imageUrl;

}
